<!DOCTYPE >
<html>
<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<title>基本设置</title>
<css  href="__PUBLIC__/home/css/right.css" />
<js href="__PUBLIC__/home/js/jquery.js" />
<js href="__PUBLIC__/home/js/system.js" />
<js href="__PUBLIC__/home/js/admin.js" />
</head>
<body style="overflow: auto;">
	<div class="basic bor">
			<div class="title fl">当前位置：创建单页 > 单页列表</div>
			<div class="basic_r fr"><a href="{:U('Index/setting')}">基本信息</a></div>
	</div>
	<form action="{:U('Page/addcate')}" method="post">
	<div class="addnav">
		<span class="navname">分类名称：</span>
		<input class="input127" type="text" name="title" value="">
        <input class="submit addnew" type="submit" value="添加栏目" />
	</div>
	</form>
<!-- ============================================================= -->

<table border="1"  class="table table-hover text-center">
  <tr class="trcolor">
    <td>排序</td>
    <td>栏目名称</td>
    <td colspan="2">操作</td>

  </tr>

<!-- ==========================循环开始=================================== -->
<volist name="list" id="li">
  <tr>
    <td><input class="orde" type="text" onchange='onid("{$li.id}","sort","store_page")' sort_id="{$li.id}" name="sort" value="{$li.sort}"></td>
    <td class="textleft ">
    <span class="bg_clo">{$li.html}</span>
    <input type="text"  onchange='onid("{$li.id}","title","store_page")' title_id="{$li.id}" name="title"  value="{$li.title}"></td>
    <td><span class="addname">
    <if condition="$li['html'] eq null "><a href="{:U('Page/addcate',array('id'=>$li[id]))}">添加子单页</a><else /><a href="{:U('Page/uppage',array('id'=>$li[id]))}">修改</a></if></span></td>
    <td><span class="addname"><a href="{:U('Page/delpage',array('id'=>$li[id]))}" onclick="return confirm('确定将此记录删除?')" >删除</a></span></td>
  </tr>
</volist>
 

</table>
<!-- ============================================================= -->
<!-- 提示 -->
<p class="ts"><span class="colorf00">*</span><span class="ts_text">如果要修改分类名称/排序请直接点击文字修改。</span></p>
</body>
</html>